<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.10.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MagTwin: mesh/include/mat.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">MagTwin<span id="projectnumber">&#160;V0.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.10.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_71786b7bc69a081a150e1a2372e4c3f1.html">mesh</a></li><li class="navelem"><a class="el" href="dir_d4f213f5211e6c5120afc9178a92a23c.html">include</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle"><div class="title">mat.h File Reference</div></div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &quot;matrix.h&quot;</code><br />
<code>#include &lt;stdio.h&gt;</code><br />
</div>
<p><a href="mesh_2include_2mat_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a50aae62169c2145ab73dff85d4c6000c" id="r_a50aae62169c2145ab73dff85d4c6000c"><td class="memItemLeft" align="right" valign="top"><a id="a50aae62169c2145ab73dff85d4c6000c" name="a50aae62169c2145ab73dff85d4c6000c"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matOpen</b>&#160;&#160;&#160;matOpen_800</td></tr>
<tr class="separator:a50aae62169c2145ab73dff85d4c6000c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb32a06ebb9b5d816ca32ba9d930f503" id="r_aeb32a06ebb9b5d816ca32ba9d930f503"><td class="memItemLeft" align="right" valign="top"><a id="aeb32a06ebb9b5d816ca32ba9d930f503" name="aeb32a06ebb9b5d816ca32ba9d930f503"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matClose</b>&#160;&#160;&#160;matClose_800</td></tr>
<tr class="separator:aeb32a06ebb9b5d816ca32ba9d930f503"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefe0b34ac0a6246cec00fb938ef32f36" id="r_aefe0b34ac0a6246cec00fb938ef32f36"><td class="memItemLeft" align="right" valign="top"><a id="aefe0b34ac0a6246cec00fb938ef32f36" name="aefe0b34ac0a6246cec00fb938ef32f36"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetFp</b>&#160;&#160;&#160;matGetFp_800</td></tr>
<tr class="separator:aefe0b34ac0a6246cec00fb938ef32f36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fc72f5dc40306887b11e960c5d180a6" id="r_a1fc72f5dc40306887b11e960c5d180a6"><td class="memItemLeft" align="right" valign="top"><a id="a1fc72f5dc40306887b11e960c5d180a6" name="a1fc72f5dc40306887b11e960c5d180a6"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matPutVariable</b>&#160;&#160;&#160;matPutVariable_800</td></tr>
<tr class="separator:a1fc72f5dc40306887b11e960c5d180a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9b829c9b42a8502663a588f0b2b4a18" id="r_ac9b829c9b42a8502663a588f0b2b4a18"><td class="memItemLeft" align="right" valign="top"><a id="ac9b829c9b42a8502663a588f0b2b4a18" name="ac9b829c9b42a8502663a588f0b2b4a18"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matPutVariableAsGlobal</b>&#160;&#160;&#160;matPutVariableAsGlobal_800</td></tr>
<tr class="separator:ac9b829c9b42a8502663a588f0b2b4a18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3597d741fef1f22da762802e729989de" id="r_a3597d741fef1f22da762802e729989de"><td class="memItemLeft" align="right" valign="top"><a id="a3597d741fef1f22da762802e729989de" name="a3597d741fef1f22da762802e729989de"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetVariable</b>&#160;&#160;&#160;matGetVariable_800</td></tr>
<tr class="separator:a3597d741fef1f22da762802e729989de"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3235e382d2716cdfb75f8e1e707d2ea" id="r_ad3235e382d2716cdfb75f8e1e707d2ea"><td class="memItemLeft" align="right" valign="top"><a id="ad3235e382d2716cdfb75f8e1e707d2ea" name="ad3235e382d2716cdfb75f8e1e707d2ea"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetNextVariable</b>&#160;&#160;&#160;matGetNextVariable_800</td></tr>
<tr class="separator:ad3235e382d2716cdfb75f8e1e707d2ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2a3fd8232f1e059116cf2ff4cd478101" id="r_a2a3fd8232f1e059116cf2ff4cd478101"><td class="memItemLeft" align="right" valign="top"><a id="a2a3fd8232f1e059116cf2ff4cd478101" name="a2a3fd8232f1e059116cf2ff4cd478101"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetNextVariableInfo</b>&#160;&#160;&#160;matGetNextVariableInfo_800</td></tr>
<tr class="separator:a2a3fd8232f1e059116cf2ff4cd478101"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a937efb1579fb41adb56db4e5c19a706b" id="r_a937efb1579fb41adb56db4e5c19a706b"><td class="memItemLeft" align="right" valign="top"><a id="a937efb1579fb41adb56db4e5c19a706b" name="a937efb1579fb41adb56db4e5c19a706b"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetVariableInfo</b>&#160;&#160;&#160;matGetVariableInfo_800</td></tr>
<tr class="separator:a937efb1579fb41adb56db4e5c19a706b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adefd005eaabf9ad03f2f214482c2792f" id="r_adefd005eaabf9ad03f2f214482c2792f"><td class="memItemLeft" align="right" valign="top"><a id="adefd005eaabf9ad03f2f214482c2792f" name="adefd005eaabf9ad03f2f214482c2792f"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matDeleteVariable</b>&#160;&#160;&#160;matDeleteVariable_800</td></tr>
<tr class="separator:adefd005eaabf9ad03f2f214482c2792f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40dc91c5fe218fe646541c604b4fd697" id="r_a40dc91c5fe218fe646541c604b4fd697"><td class="memItemLeft" align="right" valign="top"><a id="a40dc91c5fe218fe646541c604b4fd697" name="a40dc91c5fe218fe646541c604b4fd697"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetDir</b>&#160;&#160;&#160;matGetDir_800</td></tr>
<tr class="separator:a40dc91c5fe218fe646541c604b4fd697"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a65bcc812e878288b824a9bdc94564fbc" id="r_a65bcc812e878288b824a9bdc94564fbc"><td class="memItemLeft" align="right" valign="top"><a id="a65bcc812e878288b824a9bdc94564fbc" name="a65bcc812e878288b824a9bdc94564fbc"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>matGetErrno</b>&#160;&#160;&#160;matGetErrno_800</td></tr>
<tr class="separator:a65bcc812e878288b824a9bdc94564fbc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c471c70ae3c578dedb671df1d01d1dd" id="r_a2c471c70ae3c578dedb671df1d01d1dd"><td class="memItemLeft" align="right" valign="top"><a id="a2c471c70ae3c578dedb671df1d01d1dd" name="a2c471c70ae3c578dedb671df1d01d1dd"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>mat_published_c_api_h</b></td></tr>
<tr class="separator:a2c471c70ae3c578dedb671df1d01d1dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbaccfbed35b945162c27ef6d3748e77" id="r_abbaccfbed35b945162c27ef6d3748e77"><td class="memItemLeft" align="right" valign="top"><a id="abbaccfbed35b945162c27ef6d3748e77" name="abbaccfbed35b945162c27ef6d3748e77"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>EXTERN_C</b>&#160;&#160;&#160;extern</td></tr>
<tr class="separator:abbaccfbed35b945162c27ef6d3748e77"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad356cdeaad470f625c875600192d64fe" id="r_ad356cdeaad470f625c875600192d64fe"><td class="memItemLeft" align="right" valign="top"><a id="ad356cdeaad470f625c875600192d64fe" name="ad356cdeaad470f625c875600192d64fe"></a>
#define&#160;</td><td class="memItemRight" valign="bottom"><b>LIBMAT_API</b></td></tr>
<tr class="separator:ad356cdeaad470f625c875600192d64fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="typedef-members" name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a045a05786d5f9d35b0d98a8a94fb07d5" id="r_a045a05786d5f9d35b0d98a8a94fb07d5"><td class="memItemLeft" align="right" valign="top"><a id="a045a05786d5f9d35b0d98a8a94fb07d5" name="a045a05786d5f9d35b0d98a8a94fb07d5"></a>
typedef struct MatFile_tag&#160;</td><td class="memItemRight" valign="bottom"><b>MATFile</b></td></tr>
<tr class="separator:a045a05786d5f9d35b0d98a8a94fb07d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee862bca064544b8255dcc8039789a83" id="r_aee862bca064544b8255dcc8039789a83"><td class="memItemLeft" align="right" valign="top"><a id="aee862bca064544b8255dcc8039789a83" name="aee862bca064544b8255dcc8039789a83"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><b>matError</b></td></tr>
<tr class="separator:aee862bca064544b8255dcc8039789a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a3be75db61b792d75a8ef547d23750f09" id="r_a3be75db61b792d75a8ef547d23750f09"><td class="memItemLeft" align="right" valign="top"><a id="a3be75db61b792d75a8ef547d23750f09" name="a3be75db61b792d75a8ef547d23750f09"></a>
EXTERN_C LIBMAT_API MATFile *&#160;</td><td class="memItemRight" valign="bottom"><b>matOpen</b> (const char *filename, const char *mode)</td></tr>
<tr class="separator:a3be75db61b792d75a8ef547d23750f09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a313e396f06f401b18ee103c0a85f4631" id="r_a313e396f06f401b18ee103c0a85f4631"><td class="memItemLeft" align="right" valign="top"><a id="a313e396f06f401b18ee103c0a85f4631" name="a313e396f06f401b18ee103c0a85f4631"></a>
EXTERN_C LIBMAT_API matError&#160;</td><td class="memItemRight" valign="bottom"><b>matClose</b> (MATFile *pMF)</td></tr>
<tr class="separator:a313e396f06f401b18ee103c0a85f4631"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c5eec994de580d9fce862aa6416528b" id="r_a7c5eec994de580d9fce862aa6416528b"><td class="memItemLeft" align="right" valign="top"><a id="a7c5eec994de580d9fce862aa6416528b" name="a7c5eec994de580d9fce862aa6416528b"></a>
EXTERN_C LIBMAT_API matError&#160;</td><td class="memItemRight" valign="bottom"><b>matGetErrno</b> (MATFile *pMF)</td></tr>
<tr class="separator:a7c5eec994de580d9fce862aa6416528b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa978811b439f1eebda09d8cfc5236cda" id="r_aa978811b439f1eebda09d8cfc5236cda"><td class="memItemLeft" align="right" valign="top"><a id="aa978811b439f1eebda09d8cfc5236cda" name="aa978811b439f1eebda09d8cfc5236cda"></a>
EXTERN_C LIBMAT_API FILE *&#160;</td><td class="memItemRight" valign="bottom"><b>matGetFp</b> (MATFile *pMF)</td></tr>
<tr class="separator:aa978811b439f1eebda09d8cfc5236cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac8d82685443b32bb4240e19da82c9f6b" id="r_ac8d82685443b32bb4240e19da82c9f6b"><td class="memItemLeft" align="right" valign="top"><a id="ac8d82685443b32bb4240e19da82c9f6b" name="ac8d82685443b32bb4240e19da82c9f6b"></a>
EXTERN_C LIBMAT_API matError&#160;</td><td class="memItemRight" valign="bottom"><b>matPutVariable</b> (MATFile *pMF, const char *name, const mxArray *pA)</td></tr>
<tr class="separator:ac8d82685443b32bb4240e19da82c9f6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad567eb78d167bd3cc663f64c46a84743" id="r_ad567eb78d167bd3cc663f64c46a84743"><td class="memItemLeft" align="right" valign="top"><a id="ad567eb78d167bd3cc663f64c46a84743" name="ad567eb78d167bd3cc663f64c46a84743"></a>
EXTERN_C LIBMAT_API matError&#160;</td><td class="memItemRight" valign="bottom"><b>matPutVariableAsGlobal</b> (MATFile *pMF, const char *name, const mxArray *pA)</td></tr>
<tr class="separator:ad567eb78d167bd3cc663f64c46a84743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1a2e1b6ed23853643975e6319a95a6c" id="r_ab1a2e1b6ed23853643975e6319a95a6c"><td class="memItemLeft" align="right" valign="top"><a id="ab1a2e1b6ed23853643975e6319a95a6c" name="ab1a2e1b6ed23853643975e6319a95a6c"></a>
EXTERN_C LIBMAT_API mxArray *&#160;</td><td class="memItemRight" valign="bottom"><b>matGetVariable</b> (MATFile *pMF, const char *name)</td></tr>
<tr class="separator:ab1a2e1b6ed23853643975e6319a95a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12545cf675c8e9aef3bccbabf0854403" id="r_a12545cf675c8e9aef3bccbabf0854403"><td class="memItemLeft" align="right" valign="top"><a id="a12545cf675c8e9aef3bccbabf0854403" name="a12545cf675c8e9aef3bccbabf0854403"></a>
EXTERN_C LIBMAT_API mxArray *&#160;</td><td class="memItemRight" valign="bottom"><b>matGetNextVariable</b> (MATFile *pMF, const char **nameptr)</td></tr>
<tr class="separator:a12545cf675c8e9aef3bccbabf0854403"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fbee223a3d33908754e710bf458393f" id="r_a6fbee223a3d33908754e710bf458393f"><td class="memItemLeft" align="right" valign="top"><a id="a6fbee223a3d33908754e710bf458393f" name="a6fbee223a3d33908754e710bf458393f"></a>
EXTERN_C LIBMAT_API mxArray *&#160;</td><td class="memItemRight" valign="bottom"><b>matGetNextVariableInfo</b> (MATFile *pMF, const char **nameptr)</td></tr>
<tr class="separator:a6fbee223a3d33908754e710bf458393f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad12d0991418ec7df8671c210b2d5a23d" id="r_ad12d0991418ec7df8671c210b2d5a23d"><td class="memItemLeft" align="right" valign="top"><a id="ad12d0991418ec7df8671c210b2d5a23d" name="ad12d0991418ec7df8671c210b2d5a23d"></a>
EXTERN_C LIBMAT_API mxArray *&#160;</td><td class="memItemRight" valign="bottom"><b>matGetVariableInfo</b> (MATFile *pMF, const char *name)</td></tr>
<tr class="separator:ad12d0991418ec7df8671c210b2d5a23d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a403dbb00b70f182177b949dbbc20bc5d" id="r_a403dbb00b70f182177b949dbbc20bc5d"><td class="memItemLeft" align="right" valign="top"><a id="a403dbb00b70f182177b949dbbc20bc5d" name="a403dbb00b70f182177b949dbbc20bc5d"></a>
EXTERN_C LIBMAT_API matError&#160;</td><td class="memItemRight" valign="bottom"><b>matDeleteVariable</b> (MATFile *pMF, const char *name)</td></tr>
<tr class="separator:a403dbb00b70f182177b949dbbc20bc5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cb6effd0771ee88f233b3c724835662" id="r_a1cb6effd0771ee88f233b3c724835662"><td class="memItemLeft" align="right" valign="top"><a id="a1cb6effd0771ee88f233b3c724835662" name="a1cb6effd0771ee88f233b3c724835662"></a>
EXTERN_C LIBMAT_API char **&#160;</td><td class="memItemRight" valign="bottom"><b>matGetDir</b> (MATFile *pMF, int *num)</td></tr>
<tr class="separator:a1cb6effd0771ee88f233b3c724835662"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.10.0
</small></address>
</body>
</html>
